package com.revenco.bi.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.revenco.bi.dao.TnTableInfoDao;
import com.revenco.bi.model.TnTableInfo;
import com.revenco.bi.service.TnTableInfoService;

/**
 * 
 * @author LingJun
 *
 */
@Service
public class TnTableInfoServiceImpl implements TnTableInfoService {
	@Autowired
	private TnTableInfoDao tableInfoDao;
	
	public List<TnTableInfo> getAll() {
		List<TnTableInfo> list = tableInfoDao.getAll();
		return list;
	}

	public List<TnTableInfo> getTableByName(String name) {
		return tableInfoDao.getTableByName(name);
	}

}
